package com.river.boot.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.river.boot.biz.model.entity.ProductSpec;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.river.boot.biz.model.query.ProductSpecQuery;
import com.river.boot.biz.model.vo.ProductSpecVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 菜品规格Mapper接口
 *
 * @author JiangCheng Xiang
 * @since 2025-04-25 15:49
 */
@Mapper
public interface ProductSpecMapper extends BaseMapper<ProductSpec> {

    /**
     * 获取菜品规格分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<ProductSpecVO> getProductSpecPage(Page<ProductSpecVO> page, ProductSpecQuery queryParams);

}
